﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TreaShares.Backoffice.Controlers;

namespace TreaShares.Backoffice.User
{
    public partial class StocksPaidUpCapital : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnInsert_Click(object sender, EventArgs e)
        {
            StocksManager manager = new StocksManager();
            manager.InsertPaidUpCapital(int.Parse(Request.QueryString["StockId"]), int.Parse(this.txtPaidUpCapital.Text), DateTime.Parse(this.txtEffectiveDate.Text));
            this.GridView1.DataBind();
        }
    }
}